package com.ibeeking.gmc.global.g.rest.service;

import com.ibeeking.found.common.entity.MsgBaseCodeDTO;
import com.ibeeking.gmc.global.api.common.query.MsgBaseCodeFeignQuery;
import com.ibeeking.gmc.global.service.common.bo.MsgBaseCodeBO;
import com.ibeeking.gmc.global.service.common.query.MsgBaseCodeQuery;

import java.util.List;


/**
 * IMsgBaseCodeService
 *
 * @Author ibeeking
 * @Date 2022-01-05 14:41
 */
public interface IMsgBaseCodeService {

    /***
     * 查询列表
     */
    List<MsgBaseCodeBO> list(MsgBaseCodeQuery msgBaseCodeQuery);

    /***
     * 通过id查询
     */
    MsgBaseCodeBO selById(Long id);

    /***
     * 查询dto列表
     */
    List<MsgBaseCodeDTO> dtoList(MsgBaseCodeFeignQuery query);

    /***
     * 通过id查询dto
     */
    MsgBaseCodeDTO selDtoById(Long id);

    /***
     * 通过code查询dto
     */
    MsgBaseCodeDTO selDtoByCode(String code);


}
